#include<bits/stdc++.h>

using namespace std;

//不确定多少组，1组当然也可以啦
int main() {

    int a, b;

    while (cin >> a >> b) {
        cout << a + b << endl;
    }

    return 0;


}
/**
* Sample Input
 * 1 2
 * 3 4
 *
 * Sample Output
 * 3
 * 7
*/